package cn.com.dcsgo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * ServiceHomeApp
 *
 * @author Dcsgo
 * @since 2025/4/24 20:41
 */
@EnableFeignClients
@EnableDiscoveryClient
// 没有使用数据库的配置(父工程会依赖传递 MyBatisPlus 的依赖，因此这里手动去除)
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class ServiceHomeApp {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHomeApp.class, args);
    }
}
